<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: congqing
  Date: 2022/4/13
  Time: 1:04
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" deferredSyntaxAllowedAsLiteral="true" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<h1>
    所有学生如下：
</h1>
<tr>
    <td>姓名</td>
    <td>年龄</td>
    <td>居住地址</td>
    <td>操作</td>
</tr>
<br>
<c:forEach items="${studentList}" var="stu">
    <td>${stu.name}</td>
    <td>${stu.age}</td>
    <td>${stu.address}</td>
    <td><a href="preUpdateStudent.do" style="text-decoration: none">更新</a></td>
    <br>
</c:forEach>

</body>
</html>
